import Layout from '@/layout'

export default {
  path: '/departments',
  component: Layout,
  children: [{
    //  设置二级路由的组件中的内容是显示在父组件中
    path: '', // 默认自动匹配父路由
    name: 'departments',
    component: () => import('@/views/departments/departments'),
    meta: { title: '组织结构', icon: 'dashboard' }
  }]
}
